#!/usr/bin/env zsh


### ZSH HOME
export ZSH=$HOME/.config/zsh
export PATH=$HOME/.venv/default/bin:$PATH

### ---- history config ----------
export HISTFILE=$ZSH/zsh_history

# How many commands zsh will load to memory.
export HISTSIZE=10000

# How maney commands history will save on file.
export SAVEHIST=10000

if [[ -f ~/.gitee_token ]]; then
	export GITEE_TOKEN=`cat ~/.gitee_token`
fi

if [[ -f ~/.venv/default/bin/activate ]]; then
    source ~/.venv/default/bin/activate 
fi
    
if [[ -e $(which fzf) ]]; then
    # source $(fzf --zsh)
fi
